package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Node {

    private Long id;
    //'点位名称',
    private String name;
    //'点位详细地址',
    private String addr;
    //'所在区域Id',
    private String areaCode;
    //'创建人id',
    private Integer createUserId;
    //区域id',
    private Long regionId;
    //'商圈id',
    private Integer businessId;
    //'点位主Id',
    private Integer ownerId;
    //  '点位主名称',
    private String ownerName;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    //'修改时间'
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}